package com.wd.live.module_base.net.bean.wide;

import java.io.Serializable;

public class WebsocketData implements Serializable {
    /**
     * 直播间基础信息
     * liveId	int	直播间ID
     * userId	int	用户ID
     * nickName	string	用户昵称
     * content	string	评论内容
     * type	int	101=评论文本 102=进房间 103=送礼
     * giftName	string	type为103时有值
     */
    public static class LiveBase implements Serializable {
        private String liveId;
        private String userId;
        private String nickName;
        private String content;
        private String type;
        private String giftName;

        public String getLiveId() {
            return liveId;
        }

        public void setLiveId(String liveId) {
            this.liveId = liveId;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getNickName() {
            return nickName;
        }

        public void setNickName(String nickName) {
            this.nickName = nickName;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getGiftName() {
            return giftName;
        }

        public void setGiftName(String giftName) {
            this.giftName = giftName;
        }
    }

    /**
     * 直播间人数
     * liveId	int	直播间ID
     * num	int	新增人数
     */
    public static class PersonCount implements Serializable {
        private String liveId;
        private String num;

        public String getLiveId() {
            return liveId;
        }

        public void setLiveId(String liveId) {
            this.liveId = liveId;
        }

        public String getNum() {
            return num;
        }

        public void setNum(String num) {
            this.num = num;
        }
    }

    /**
     * 搭鹊桥
     * liveId	int	直播间ID
     * status	int	状态码 101=开启搭鹊桥（显示鹊桥动画） 102=鹊桥助力（鹊桥动画更新） 103=搭鹊桥完成（关闭鹊桥动画） 104=搭鹊桥失败（关闭鹊桥动画）
     * content	string	消息内容，直接展示即可
     * boostNum	int	助力次数，状态码为102时才有该属性
     * anchorId	int	主播ID，状态码为101时才有该属性，用来让客户端分辨当前是主播还是观众
     */
    public static class Bridge implements Serializable {
        private String liveId;
        private String status;
        private String content;
        private String boostNum;
        private String anchorId;

        public String getLiveId() {
            return liveId;
        }

        public void setLiveId(String liveId) {
            this.liveId = liveId;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getBoostNum() {
            return boostNum;
        }

        public void setBoostNum(String boostNum) {
            this.boostNum = boostNum;
        }

        public String getAnchorId() {
            return anchorId;
        }

        public void setAnchorId(String anchorId) {
            this.anchorId = anchorId;
        }
    }

    /**
     * 连麦
     * iveId	int	直播间ID
     * userId	int	接收消息的用户id
     * channelName	string	渠道名、房间名
     * agoraToken	string	声网鉴权token
     */
    public static class Concat implements Serializable {
        private String iveId;
        private String userId;
        private String channelName;
        private String agoraToken;

        public String getIveId() {
            return iveId;
        }

        public void setIveId(String iveId) {
            this.iveId = iveId;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getChannelName() {
            return channelName;
        }

        public void setChannelName(String channelName) {
            this.channelName = channelName;
        }

        public String getAgoraToken() {
            return agoraToken;
        }

        public void setAgoraToken(String agoraToken) {
            this.agoraToken = agoraToken;
        }
    }
}
